<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>js string</title>
		<script>
			var str="javascript is a very good";
			console.log("size:"+str.length);
			str=str.toUpperCase();
			console.log(str);
			var s1=str.substr(1,5);
			console.log(s1);
			var s2=str.substring(1,5);
			console.log(s2);
			var s4=String.fromCharCode(21016,65,66,67);
			console.log(s4);
		</script>
	</head>
	<body>
	</body>
</html>